IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'SectionUpdateViewOrder')
	BEGIN
		DROP  Procedure  SectionUpdateViewOrder
	END

GO

CREATE Procedure SectionUpdateViewOrder
@SectionID Int,
@Ordinal Int
AS
Update ChapterSection
Set  ViewOrder = @Ordinal
Go




